const express = require('express')
const app = express()
app.listen(9090, '0.0.0.0', () => console.log('http://127.0.0.1:9090'))

// 中间件
app.use(express.urlencoded({extended: false}))
app.use(express.json())

// 路由
app.use('/api', require('./router'))
